Principle of maximum entropy